package org.agile2soft.nexoma.expedient.model;
//
//package org.open2soft.gem.expedient.model;
//
//import java.util.ArrayList;
//
//import org.open2soft.gem.expedient.entities.Expedient;
//
///**
// * Interface de acceso a datos para el m�dulo de Documentos. Define todos los
// * m�todos que deben implementar los DAO's de Documentos. Estos mimos m�todos
// * ser�n
// * los tendr�n disponibles los clientes de datos.
// *
// * @author Francisco Manzano Garc�a <br>
// * Open(2)Soft 2004<br>
// * @version beta_v3<br>
// */
//public interface IExpedientsDAO
//{
//
//    public String addExpedient(Expedient exp, ArrayList phases, ArrayList interesting, ArrayList representants, String type_request, String reg_id) throws DBException ;
//
//    public String addEntry(EntryBean reg) throws DBException ;
//
//    public ArrayList getManagersByTypeAndPhase(String type_id, String phase_id) throws DBException ;
//
//    public ArrayList   searchExpedients(int rango, java.sql.Date date, String interesting ,String responsables, String exp_id, String comments , String phase_id, String type, ArrayList types, boolean currents_phases, boolean history ) throws DBException ;
//
//    public void addDocument (ExpedientDocumentBean document) throws DBException ;
//
//    public ArrayList getAllManagersByType(String type_id) throws DBException ;
//
//    public ArrayList getPhasesBeanByType(String type_id) throws DBException ;
//
//    public ArrayList getCitizensByExpedient( String exp_id ) throws DBException;
//
//    public ArrayList getTypesByExpedient (String exp_id) throws DBException;
//
//    public ArrayList getCompletsPhasesByExpedient (String exp_id)throws DBException;
//
//    public int getNumRequetsByExpedient (String exp_id, int up) throws DBException;
//
//    public int getNumDocumentsByExpedient (String exp_id) throws DBException;
//
//    public void updateCommentsExpedients (String comments, String type_id, String phase_id, String exp_id) throws DBException ;
//
//    public void updatePhaseExpedients (String next_phase_id, String next_manager, int state , String type_id, String phase_id, String exp_id) throws DBException ;
//
//    public ArrayList getExpedientsByCurrentManager(String usu_login, boolean web_requests) throws DBException ;
//
//    public ArrayList getDocumentsByExpedient(String exp_id) throws DBException ;
//
//    public ExpedientDocumentBean getExpedientDocument(String doc_id) throws DBException ;
//
//    public void closeExpedient (String exp_id, int state, String type_id, String phase_id) throws DBException , NoClosedExpedientException ;
//
//    public ArrayList getNoValidationsRequests() throws DBException ;
//
//    public RequestBean getRequest( String request_id ) throws DBException ;
//
//    public int ValidateCitizensByRequest( String req_id ) throws DBException ;
//
//    public void ValidateRequest( String req_id , String exp_id, String login) throws DBException;
//
//    public void badRequest( String reg_id , String exp_id) throws DBException ;
//
//    public ArrayList getRequestsByExpedient(String exp_id, int up) throws DBException ;
//
//    public boolean existExpedient(String exp_id) throws DBException ;
//
//    public String getCurrentMangerByExpedient(String exp_id) throws DBException ;
//
//    public int getNextEntryNumber(int year)  throws DBException ;
//
//    public void addRequestAndCitizensForExpedient(String exp_id,  String reg_id, ArrayList interesting, ArrayList representants) throws DBException ;
//
//    public int getNumberByEntry (String reg_id)throws DBException ;
//
//    public ArrayList searchEntries(String number, String date, int range) throws DBException ;
//
//    public EntryBean getEntry(String reg_id) throws DBException ;
//
//    public EntryBean getCitizensByRequest(String request_id) throws DBException ;
//
//}
